home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1465 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: gate.net!pslfl2-43
  2. From: bhutto@gate.net (William Hutto)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: An incredably dumb question
  5. Date: 13 Jan 1996 21:01:05 GMT
  6. Organization: CyberGate, Inc.
  7. Message-ID: <4d96ih$cr6@news.gate.net>
  8. References: <4d8tlk$pgk@ccnet3.ccnet.com>
  9. NNTP-Posting-Host: pslfl2-43.gate.net
  10. X-Newsreader: News Xpress Version 1.0 Beta #4
  11.  
  12. In article <4d8tlk$pgk@ccnet3.ccnet.com>,
  13.    felinoid@ccnet.com (Jeffery C McLean) wrote:
  14. >    and I should be able to figure it out myself....
  15. >But I can't.....
  16. >
  17. >    I am learninf C (Already got the FAQ) also make use of old 3b2
  18. >programming manuals and "Teach yourself C"
  19. >    But with all that I STILL can't figure this out...
  20. >
  21. >    Here is my question....
  22. >I am looking for an alternitive to getc()   I want to read carciters
  23. >as they are entered NOT after the user hits return.
  24. >I feal so stupid that I can't find it myself or figure it out...
  25. >Must be right under my nose... or I'd have it by now...
  26. >Jeff
  27.  
  28. I don't know of *any* functions that return carciters. :)
  29.  
  30. Hopefully your compiler's extended library has functions like getch(), 
  31. getche() and kbhit() which will likely work the way you expect them to (no 
  32. buffering). I have to use them 'cause most users are unaccustomed to blind 
  33. typing.
  34.  
  35. Bill
  36.  
  37. "Whatcha got on?...Your mind?"
  38.